<template>
  <div id="knowledgeList">
    <div class="weui-panel weui-panel_access">
      <div class="weui-panel__bd">
        <router-link class="weui-media-box weui-media-box_appmsg" to="/home/info/detail">
          <div class="weui-media-box__hd">
            <img class="weui-media-box__thumb" src="/src/assets/img/home/Knowledge/guoji-1.png">
          </div>
          <div class="weui-media-box__bd">
            <h4 class="weui-media-box__title">标题一</h4>
            <p class="weui-media-box__desc">由各种物质组成的巨型球状天体，叫做星球。星球有一定的形状，有自己的运行轨道。</p>
          </div>
        </router-link>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  created (){
    $.ajax({
      type: "post",
      url: "http://route.showapi.com/196-1",
      async: false,
      dataType: 'json',
      jsonp: 'callback',
      success: function(data) {
        console.log(data)
      },
      error: function() {

      }
    });

  },
}
</script>

